procedure SetStr(index : longint; s : Str255);

If index is 0 then the entire string is placed in the internal string.  If index>0 then the first character of the string is placed at the indexed location of the internal string.

Also see:  GetStr  SetLIndex  SetRIndex